/**
 * 
 */
package br.embedded.socialapp.location;

import java.util.Comparator;

/**
 * @author daniel
 *
 */
public class CoordenatesComparator implements Comparator<Coordenates> {

	@Override
	public int compare(Coordenates o1, Coordenates o2) {
		return Double.compare(o1.getDistance(), o2.getDistance());
	}

}
